package com.net.shop.car.manager.api.model;

import java.math.BigDecimal;

public class ForPayGoods extends Goods {
	private long useVb;
	private BigDecimal useMoney;
	
	private Goods goods;
	
	
	/**
	 * @param goods
	 */
	public ForPayGoods(Goods goods) {
		this.goods = goods;
		
	}
	/**
	 * @return the useVb
	 */
	public long getUseVb() {
		return useVb;
	}
	/**
	 * @param useVb the useVb to set
	 */
	public void setUseVb(long useVb) {
		this.useVb = useVb;
	}
	/**
	 * @return the useMoney
	 */
	public BigDecimal getUseMoney() {
		return useMoney;
	}
	/**
	 * @param useMoney the useMoney to set
	 */
	public void setUseMoney(BigDecimal useMoney) {
		this.useMoney = useMoney;
	}
	
	@Override
	public String getGoodId() {
		// TODO Auto-generated method stub
		return goods == null ? null : goods.getGoodId();
	}
	
	@Override
	public BigDecimal getCheapPrice() {
		return goods == null ? null : goods.getCheapPrice();
	}
	
	@Override
	public String getGoodName() {
		// TODO Auto-generated method stub
		return goods == null ? null : goods.getGoodName();
	}

}
